package spring.framework.util;

/**
 * @author fun.pengzh
 * @class spring.framework.utils.ClassUtils
 * @desc
 * @since 2021-10-16
 */
public class ClassUtils {

    public static ClassLoader getDefaultClassLoader(){
        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
        if (classLoader == null) {
            classLoader = ClassUtils.class.getClassLoader();
        }
        return classLoader;
    }

}
